<?php if (count($comments)) { ?>
    <?php foreach ($comments as $comment) { ?>
        <?php $avatar = !empty($comment->user->avatar) ? Helper::renderImage($comment->user->avatar, 'uploads/avatar', ',', true, true) : Helper::baseUrl() . '/uploads/avatar.jpg'; ?>
        <div class="row-fluid post-mini">
            <div class="span2">
                <a href="<?php echo Helper::url('/Blog/post/view', array('lang' => Yii::app()->language, 'postAlias' => $comment->post_alias)); ?>" title="<?php echo $comment->full_name; ?>"><img src="<?php echo $avatar; ?>" alt="<?php echo $comment->full_name; ?>" /></a>
            </div>
            <div class="span10">
                <p class="primary-color"><?php echo $comment->full_name; ?> commented on <a href="<?php echo Helper::url('/Blog/post/view', array('lang' => Yii::app()->language, 'postAlias' => $comment->post_alias)); ?>" title="<?php echo $comment->post_title; ?>"><?php echo $comment->post_title; ?></a></p>
                <p class="primary-color"><a href="<?php echo Helper::url('/Blog/post/view', array('lang' => Yii::app()->language, 'postAlias' => $comment->post_alias)); ?>#comment_<?php echo $comment->id; ?>" title="<?php echo $comment->post_title; ?>"><?php echo strip_tags($comment->info); ?></a></p>
            </div>
        </div>
    <?php } ?>
<?php } ?>